import {
	IWFSteptRacViewAbility,
	IWFSteptRacViewController,
	IWFSteptRacViewControllerParams,
	IWFSteptRacViewStore,
	WFSteptRacViewActionType,
} from '@/core/interface';
import { ViewController } from './view-controller';

/**
 * 应用看板视图控制器
 *
 * @export
 * @class PortalViewController
 * @extends {ViewController}
 */
export class WFSteptRacViewController
	extends ViewController<
		WFSteptRacViewActionType,
		IWFSteptRacViewStore,
		IWFSteptRacViewAbility
	>
	implements
		IWFSteptRacViewController<IWFSteptRacViewStore, IWFSteptRacViewAbility>
{
	/**
	 * 处理视图初始化
	 *
	 * @protected
	 * @param {IWFSteptRacViewControllerParams<WFSteptRacViewActionType, IWFSteptRacViewAbility>} params
	 * @memberof WFSteptRacViewController
	 */
	protected processViewInit(
		params: IWFSteptRacViewControllerParams<
			WFSteptRacViewActionType,
			IWFSteptRacViewAbility
		>
	) {
		super.processViewInit(params);
		Object.assign(this.store, { appEntityCodeName: '' });
	}
}
